package com.meilai.project.vo.app;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author 张驰
 * @date 2021/10/31 0:34
 */
@ApiModel(value="返回对象-app公司离线数据VO-楼盘信息VO", description="返回对象-app公司离线数据-楼盘信息")
@Data
public class CompanyOfflineBuildingDataVO{
    @ApiModelProperty(value = "楼盘id，自增列")
    private Long id;
    @ApiModelProperty("楼盘大门照片")
    private String photo;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty(value = "纬度", example = "30.000000")
    private BigDecimal lat;
    @ApiModelProperty(value = "经度", example = "120.000000")
    private BigDecimal lng;
    @ApiModelProperty("具体地址")
    private String address;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime created_at;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updated_at;
}
